
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的大麦-个人信息</title><link rel="stylesheet" href="djh/css/ui-min.css" />
<link rel="shortcut icon" type="image/x-icon" href="https://passport.damai.cn/images/favicon.ico" />
<style type="text/css">.onError{color:#f52954;}</style>
<script type="text/javascript" src="djh/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="djh/js/ui-min.js"></script>
<script src="djh/js/base.js" type="text/javascript"></script>
<script type="text/javascript" src="djh/js/dateselects.js"></script>
<script type="text/javascript" src="djh/js/formvalidator.js"></script>
<script type="text/javascript" src="djh/js/myinfo.js"></script>

<script type="text/javascript">
    var currNavName = "MyInfo";
</script>

<link rel="stylesheet" href="djh/css/0f0c162de5fa4364bc1677a0ec83f3c6.css"/>
</head>

<body onload="getByid()"><script>
with(document)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("exparams","category=&userid=&aplus&yunid=&5e733fe3517ee&trid=212ce9c316316032284974520e6b63&asid=AQAAAAAcSkBhOyp0UQAAAAAiA2mGmfHBUA==",id="tb-beacon-aplus",src=(location>"https"?"//g":"//g")+".alicdn.com/alilog/mlog/aplus_v2.js")
</script>


<!--ems start-->


<style>
    .sidebar .item:nth-last-child(2){
        /*display: none;*/
    }
    .dm-header-banner {
        width: 100%;
        height: 60px;
        background-repeat: no-repeat;
        background-size: cover;
        background-image: url('static/djh/images/o1cn01uf9thn1de7txdinpy_!!6000000003760-2-tps-2880-120.png');
    }
</style>
<!--<div class="dm-header-banner"></div>-->
<div class="dm-header-wrap">
    <div class="dm-header-box" data-spm="top">
		<a href="/home"><img class="i-logo" src="djh/picture/tb1fbvffu3thkvjszsgxxx4qfxa-230-104.png" alt="大麦" /></a>
		<div class="location-header">
			<img class="i-icon-location" src="djh/picture/tb1xhduxngybunjy0fnxxx5lpxa-28-32.png" alt="定位" />
			<span class="city-location">全国</span>
			<img class="i-arrow-location" src="djh/picture/tb1vnubxstybenjsspaxxaoofxa-20-12.png" alt="箭头" />
			<div class="city-header-wrap">
				<div class="city-header" data-spm="city">
					<div class="now-city">
						<span class="title-city">当前城市:</span>
						<span class="name-city select-city">全国</span>
					</div>
					<div class="hot-city">
						<span class="title-city">热门城市:</span>
						<div class="list-other"></div>
					</div>
					<div class="other-city">
						<span class="title-city">其他城市:</span>
						<div class="list-other"></div>
					</div>
				</div>
			</div>
		</div>
		<div class="recommend-header">
            <a href="/home" class="type-recommend select" data-spm="dhome">首页</a>
            <a href="/search" class="type-recommend" data-spm="dcategory">分类</a>
		</div>
		<div class="right-header" data-spm="nick">
			<div class="box-header user-header">
				<a href="javascript:void(0)" class="J_userinfo_img" data-spm="duserinfo"><img class="i-box-header i-user" src="djh/picture/tb14ukcgqywbunjy0fpxxassxxa-54-54.png" /></a>
				<a href="//passport.damai.cn/accountinfo/myinfo" class="J_userinfo_name" data-spm="duserinfo">
					<div class="span-box-header name-user"></div>
				</a>
				<div class="login-user show">
                    <span class="span-box-header span-user" data-spm="dlogin" onclick="loginUser()">登录</span>
				</div>
				<div class="list-wrap">
					<div class="list-login">
                        <a href="/myselfInfo" class="li-login select" data-spm="duserinfo">个人信息</a>
                        <a href="/lgf2" class="li-login" data-spm="daccountsetting">账号设置</a>
                        <a href="/orderList" class="li-login" data-spm="dordermanage">订单管理</a>
                        <a href="javascript:logout()" data-spm="dexit" class="li-login out-login">退出登录</a>
                    </div>
				</div>
			</div>
			<div class="box-header download-header">
				<img class="i-box-header i-download" src="djh/picture/tb1a9eigkusbunjy1xcxxcyjfxa-54-54.png" alt="下载" />
				<span class="span-box-header">下载</span>
				<div class="ewm-download">
                    <img class="i-ewm" src="wl/picture/TB1TBEJSkvoK1RjSZFNXXcxMVXa-280-280.png" />
				</div>
			</div>
		</div>
		<div class="search-header" data-spm="searchtxt">
			<img class="i-search" src="djh/picture/tb1qv3jxgmwbunjy1xaxxxcbxxa-34-36.png" alt="搜索" />
			<input class="input-search" placeholder="搜索明星、演出、体育赛事" data-spm="dsearchbtn" />
			<div class="btn-search" data-spm="dsearchbtn2">搜索</div>
			<div class="list-search-wrap">
				<div class="list-search">
				</div>
			</div>
		</div>

	</div>
</div>
<!--ems end-->

<div class="red-line"></div>
<!--main-->
<div class="main">
<!--left of start-->
<div class="sidenav">
   <div id="mydamai">
    <h3>我的大麦</h3>
    <dl>
    <dt>交易中心</dt>
        <dd><a id="nav_Order" href="/orderList" title="订单管理"  domain=""><span >订单管理</span></a></dd>

        <dd><a id="nav_myCoupon" href="/couponList" title="我的优惠券"  domain=""><span >我的优惠券</span></a></dd>



    <dl>
    <!--
    <dt>互动中心</dt>
        <dd><a id="nav_MessCenter" href="http://my.damai.cn/interaction/siteMessage" title="站内消息"  domain=""><span >站内消息</span></a></dd>
        <dd><a id="nav_MyComment" href="http://my.damai.cn/interaction/myComment" title="我的评论"  domain=""><span >我的评论</span></a></dd>
        <dd><a id="nav_MyQuestion" href="http://my.damai.cn/interaction/myQuestion" title="我的提问"  domain=""><span >我的提问</span></a></dd></dl>
    <dl>
    -->
    <dt>账户中心</dt>
        <dd><a id="nav_MyAddress" href="/buy" title="收货地址"  domain=""><span >收货地址</span></a></dd>
        <dd><a id="nav_AccountSafty" href="/lgf2" title="账号设置"  domain=""><span >账号设置</span></a></dd>

        <dd><a id="nav_MyInfo" href="/myselfInfo" title="个人信息"  domain=""><span >个人信息</span></a></dd>

    </dl>

    <script type='text/javascript'>
    (function(){
        document.getElementById('mydamai').style.display='none';
        var object=document.getElementById('nav_'+currNavName);
        if(object) object.className+=' on';
        document.getElementById('mydamai').style.display='';
    })();
    </script>
   </div>
 </div>

<!--left of end-->
<!--right of start-->
<div class="right-main">
        <div class="breadcrumb">
<span>个人信息</span></div>
<div class="tab-mydamai">
    <ul class="title">
        <li><a class="on" href="https://passport.damai.cn/accountinfo/myinfo">基本资料</a></li>
    </ul>
    <div class="c-n box01">
        <div class="per-edit-list">
        <form id="myForm" method="post" onsubmit="myinfoformsubmit();return false;">
            <div class="per-edit-msg">完善更多个人信息，有助于我们为您提供更加个性化的服务，大麦网将尊重并保护您的隐私。</div>
            <dl>
                <dt>真实姓名：</dt>
                <dd>
                    <input id="userName"  type="text" class="input-text-2" name="userName" value=""/>
                    <span id="realinpTip" class="tip"></span>
                    <input type="hidden" id="userId" name="userId">
                </dd>
            </dl>
            <dl>
                <dt><span class="c4" style="padding-right:3px;color:red;">*</span>性别：</dt>
                <dd>
                    <label class="radio">
                        <input style="-webkit-appearance:radio" type="radio" id="nan" value="1" name="userSex"  /><span class="m">男</span>
                    </label>
                    <label class="radio">
                        <input style="-webkit-appearance:radio" type="radio" id="nv" value="2" name="userSex"  /><span class="f">女</span>
                    </label>
                    <span id="sexRadioTip" class="tip"></span>
                </dd>
            </dl>
            <dl>
                <dt>出生日期：</dt>
                <dd>
                    <input type="date"  id="userDate" name="userDate" >
                </dd>
            </dl>
            <dl>
                <dt>身份证号：</dt>
                <dd>
                    <input id="userCard" readonly type="text" class="input-text-1" name="userCard" value=""/>
                    <span id="cardinpTip" class="tip"></span>
                </dd>
            </dl>
            <button type="button" class="btn05"  onclick="add()">
                <span class="glyphicon glyphicon-user"></span> 保存
            </button>
        </form>
        </div>
    </div>
</div>

</div>
</div>
<!--right of end-->

<script type="text/javascript" src="djh/js/seoflowstatistics.js"></script>

<script>
if(typeof JsLoader === 'undefined') {window.JsLoader = {load:function(){},before:function(){},complete:function(){},completeAfter:function(){}};}
</script>
<script src="djh/js/dui-min.js" type="text/javascript"></script>
<script src="djh/js/app-min.js" type="text/javascript"></script>
</div>
<!--返回顶部及帮助中心-->
<div class="new-fast">
    <a onclick="jvascript:$('body,html').animate({ scrollTop: 0 }, 500);" class="fast-top" href="#">返回顶部</a>
    <a class="fast-help" href="//www.damai.cn/helpcollect.html#selfservice" target="_blank">帮助中心</a>
</div>

<!-- 成功提示层 begin -->
<div class="tips-y-b">
    <div class="tips-y-b-con"><p></p></div>
</div>
<div class="tips-f-b">
    <div class="tips-f-b-con"><p></p></div>
</div>

<!-- 成功提示层 start -->

<!--ems start-->


<div class="dm-footer">
    <div class="w1200">
        <ul class="footer__links">

            <li class="footer__links__list"><a href="//help.damai.cn" target="_blank" data-spm="flink0">帮助中心</a></li>
            <li class="footer__links__grep">|</li>

            <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=69&amp;categoryId=30" target="_blank" data-spm="flink1">公司介绍</a></li>
            <li class="footer__links__grep">|</li>

            <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=70&amp;categoryId=30" target="_blank" data-spm="flink2">品牌识别</a></li>
            <li class="footer__links__grep">|</li>

            <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=72&amp;categoryId=30" target="_blank" data-spm="flink3">公司大事记</a></li>
            <li class="footer__links__grep">|</li>

            <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=40&amp;categoryId=14" target="_blank" data-spm="flink4">协议及隐私权政策</a></li>
            <li class="footer__links__grep">|</li>

            <li class="footer__links__list"><a href="&#x2F;&#x2F;jubao.alibaba.com&#x2F;internet&#x2F;readme.htm?spm=a2o6e.search.0.0.72f44d15Votov6&amp;site=damai" target="_blank" data-spm="flink5">廉正举报</a></li>
            <li class="footer__links__grep">|</li>

            <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=58&amp;categoryId=5" target="_blank" data-spm="flink6">联系合作</a></li>
            <li class="footer__links__grep">|</li>

            <li class="footer__links__list"><a href="&#x2F;&#x2F;job.alibaba.com&#x2F;zhaopin&#x2F;positionList.htm?keyWord=JXU1OTI3JXU5RUE2&amp;_input_charset=UTF-8" target="_blank" data-spm="flink7">招聘信息</a></li>
            <li class="footer__links__grep">|</li>

            <li class="footer__links__list"><a href="&#x2F;&#x2F;x.damai.cn&#x2F;markets&#x2F;special&#x2F;fangzhapian?spm=a2o6e.home.0.0.75df48d3hqGWGD&amp;wh_ttid=pc" target="_blank" data-spm="flink8">防骗秘籍</a></li>


        </ul>
        <div class="footer__ft">
            <div class="footer__ft_fl">
                <a href="//www.damai.cn/?spm=a2o6e.home.0.0.591b48d3QzpG8B" target="_blank" class="footer__ft__logo">
                    <img src="djh/picture/tb1otmasmzqk1rjszpxxxc4tvxa-167-60.png" />
                </a>
                <div class="footer__ft__code__box">
                    <img class="footer__ft__code" src="/wl/picture/TB1TBEJSkvoK1RjSZFNXXcxMVXa-280-280.png" alt="">
                    <span>APP下载</span>
                </div>
            </div>
            <div class="footer__ft_fr">
                <div class="footer__fr__contact">

                    <a style="margin-left:0;" href="//online.damai.cn/alime/index?from=damai_pc_item&v=3" class="footer__fr__contact__btn alime">在线客服</a>
                </div>
                <ul class="footer__ft__words">
                    <li class="footer__ft__certificate"><a href="https://gw.alicdn.com/imgextra/i2/O1CN01J1OnUU1g76CE6kSh6_!!6000000004094-0-tps-2480-3507.jpg" target="_blank">京ICP证031057号</a></li>
                    <li class="footer__ft__grep">|</li>
                    <li class="footer__ft__certificate"><a href="https://beian.miit.gov.cn/#/Integrated/recordQuery" target="_blank">京ICP备11043884号</a></li>
                    <li class="footer__ft__grep">|</li>
                    <li class="footer__ft__certificate"><a
                            href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502037341" target="_blank">京公网安备11010502037341号</a>
                    </li>
                    <li class="footer__ft__grep">|</li>
                    <li class="footer__ft__certificate"><a href="https://gw.alicdn.com/imgextra/i2/O1CN0154oubE1iLsBEGmx9V_!!6000000004397-2-tps-1694-1138.png" target="_blank">广播电视节目制作经营许可证(京)字第02253号</a></li>
                </ul>
                <ul class="footer__ft__words">
                    <li class="footer__ft__certificate"><a href="https://gw.alicdn.com/imgextra/i2/O1CN01tlZwxM1LiYeoBTfIB_!!6000000001333-0-tps-2480-3507.jpg" target="_blank">网络文化经营许可证 京网文[2019]4082-420号</a></li>
                    <li class="footer__ft__grep">|</li>
                    <li class="footer__ft__certificate"><a href="https://gw.alicdn.com/imgextra/i1/O1CN01V4XPXw1TNxm6UL9RO_!!6000000002371-0-tps-1653-2339.jpg" target="_blank">营业性演出许可证京市演587号</a></li>
                </ul>
                <ul class="footer__ft__words">
                    <li class="footer__ft__certificate">北京大麦文化传媒发展有限公司 版权所有</li>
                    <li class="footer__ft__certificate"><a
                            href="//www.damai.cn/?spm=a2o6e.home.0.0.591b48d3QzpG8B">大麦网</a></li>
                    <li>Copyright 2003-2020 All Rights Reserved</li>
                </ul>
                <ul class="footer__ft__words">
                    <li>举报投诉：damai_tousu@member.alibaba.com   浙江省杭州市余杭区文一西路969号</li>
                </ul>
                <ul class="footer__ft__words">
                    <li>违法不良信息举报电话：020-62108294</li>
                </ul>
                <div class="footer__ft__img">

                    <a rel="nofollow" title="电子营业执照" target="_blank"
                       href="https://gw.alicdn.com/tfs/TB1U0tdqmR26e4jSZFEXXbwuXXa-844-587.png">
                        <img class="footer__ft__img2" alt="" src="djh/picture/tb1zo80pyoybunjssd4xxbskfxa-141-41.png">
                    </a>

                    <a rel="nofollow" target="_blank" href="https://www.pcisecuritystandards.org/">
                        <img src="djh/picture/tb1y580pyoybunjssd4xxbskfxa-83-50.png" class="footer__ft__img3">
                    </a>
                    <a target="_blank" href="https://search.szfw.org/cert/l/CX20130327002367002885"
                       id="___szfw_logo___">
                        <img class="footer__ft__img4" src="djh/picture/tb1c4nnxtlybenjsszcxxbwhfxa-114-42.png">
                    </a>
                    <script type="text/javascript">(function () {
                        document.getElementById('___szfw_logo___').oncontextmenu = function () {
                            return false;
                        }
                    })();</script>
                </div>
            </div>
        </div>
    </div>
</div>
<style>
.sidebar{top: 72.5%;}
.sidebar .item .icon {
    background-image: url(static/images/tb1u1u9xmzqk1rjszfhxxb3cpxa-64-180.png);
}
img{border: 0;}
.sidebar .item .qrcode{
    background: #fff url('static/djh/images/tb1tbejskvok1rjszfnxxcxmvxa-280-280.jpg') no-repeat center center;
    background-size: 90%;
}
.sidebar .item .qrcode img{display:none;}
</style>
<script type="text/javascript" src="djh/js/ef122d5334c04b83abf517863bce8094.js" crossorigin></script>
<script type="text/javascript">

    //给登录添加on属性
    $(".user-header").on("mouseover",
        function (){
            $(".user-header").addClass("on");
        })
    $(".user-header").on("mouseout",
        function (){
            $(".user-header").removeClass("on");
        })

    //登录后显示登录信息
    $.ajax({
        url:"/home/getLoginInfo",
        success:function(data){
            if(data.loginInfo==300){
                $(".name-user").removeClass("show");
                $(".login-user").addClass("show");
                $(".out-login").removeClass("show");
            }else{
                $(".i-user").prop("src",data.loginInfo.userImg);
                $(".name-user").html(data.loginInfo.userName);
                $(".name-user").addClass("show");
                $(".login-user").removeClass("show");
                $(".out-login").addClass("show");
            }
        }
    })

    //给下载添加on属性
    $(".download-header").on("mouseover",
        function (){
            $(".download-header").addClass("on");
        })
    $(".download-header").on("mouseout",
        function (){
            $(".download-header").removeClass("on");
        })

    //跳转登录
    function loginUser(){
        location.href="/login";
    }
    //登录要修改js文件 span-user 的location.href

    //退出登录
    function logout(){
        $.ajax({
            url:"/home/logout",
            success:function(){
                //刷新页面
                location.reload();
            }
        })
    }


    function getByid() {
        $.ajax({
            url: "../tree/getByid",

            type: "post",
            success: function (data) {
                console.log(data)
                $("#userName").val(data.userName);
                $("#userDate").val(data.userDate);
                $("#userId").val(data.userId);
                $("#userCard").val(data.userCard)
                if (data.userSex == 1) {

                    $("#nan").prop("checked", true);
                } else if (data.userSex == 2) {

                    $("#nv").prop("checked", true);
                }
            }

        })
    }
    //保存
    function add(){
        alert(2131)
        console.log($("#myForm").serialize())
        $.ajax({
            url:"../tree/updateUser",
            data:$("#myForm").serialize(),
            type:"post",
            success:function (data){
                alert(data);
                getByid();
            }
        })
    }








var tracker = new window.Tracker({
  pid: 'damaipc',
  plugins: [
    [window.interfaceTrackerPlugin],
    [window.performanceTrackerPlugin]
  ],
});

// 启动 tracker 并监听全局 JS 异常
tracker.install();

(function(){var f=function(){};if(!window.console){window.console={log:f,info:f,warn:f,debug:f,error:f}}}());
</script>
<!--script src="//g.alicdn.com/sd/baxia/1.0.11/baxiaCommon.js"></script-->


<script src="djh/js/mtop.js"></script>
<script data-config="{combine:true}" src="djh/js/seed.js"></script>
<script src="djh/js/index.js" ></script>
<!--ems end-->

</body>
</html>
<!-- DPlus Start -->
    <!-- start Dplus --><script type="text/javascript">!function(a,b){if(!b.__SV){var c,d,e,f;window.dplus=b,b._i=[],b.init=function(a,c,d){function g(a,b){var c=b.split(".");2==c.length&&(a=a[c[0]],b=c[1]),a[b]=function(){a.push([b].concat(Array.prototype.slice.call(arguments,0)))}}var h=b;for("undefined"!=typeof d?h=b[d]=[]:d="dplus",h.people=h.people||[],h.toString=function(a){var b="dplus";return"dplus"!==d&&(b+="."+d),a||(b+=" (stub)"),b},h.people.toString=function(){return h.toString(1)+".people (stub)"},e="disable track track_links track_forms register unregister get_property identify clear set_config get_config get_distinct_id track_pageview register_once track_with_tag time_event people.set people.unset people.delete_user".split(" "),f=0;f<e.length;f++)g(h,e[f]);b._i.push([a,c,d])},b.__SV=1.1,c=a.createElement("script"),c.type="text/javascript",c.charset="utf-8",c.async=!0,c.src="https://w.cnzz.com/dplus.php?token=7415364c9dab5n09ff68",d=a.getElementsByTagName("script")[0],d.parentNode.insertBefore(c,d)}}(document,window.dplus||[]),dplus.init("7415364c9dab5n09ff68");</script><!-- end Dplus -->
    <!-- start Dplus Define -->
    <script type="text/javascript">!function(a,b){var c,d;window.__dplusDefineCacheQueue=[],b.define=function(){window.__dplusDefineCacheQueue.push(Array.prototype.slice.call(arguments))},c=a.createElement("script"),c.type="text/javascript",c.charset="utf-8",c.async=!0,c.src="https://w.cnzz.com/dplus.define.php",d=a.getElementsByTagName("script")[0],d.parentNode.insertBefore(c,d)}(document,window.dplus);</script><!-- end Dplus Define -->
    <script type="text/javascript">
    $(function(){
            dplus.define('page', function(page){
                page.init("7415364c9dab5n09ff68", {
                'page_duration': true,
                'clean_url': true
                });
            });

            dplus.define('page', function(page){
                page.setType('my');
                page.setTitle('个人信息');
                page.view();
            });
     });
    </script>
    <!-- DPlus End -->